import { get, post } from './axios';
// 测试接口
// export const getreact = params => get("/react/apidom", params) //√

//护士模块
export const LoginAjax = params => post("/react/ReactLogin", params)
// 添加护士人员
export const AddtheNurse = params => post("/react/AddtheNurse", params)
//查询所有在职人员
export const QueryNurse = params => post("/react/QueryNurse", params)
//删除对应数据
export const delgonggaooneAjax = params => post("/react/delAjax", params)
//修改对应数据
export const UpdataNurs = params => post("/react/updataNurs", params)
//添加请假信息接口
export const Addleave = params => post("/react/addleave", params)



// =====================================================================================

//添加挂号患者接口
export const Addfront = params => post("/react/addfront",params)

//查询挂号患者接口
export const Checkfront = params => post("/react/checkfront",params)

// =====================================================================================

//查看所有医生
export const finddoctorAjax = params => get("/react/finddoctor", params)

//上传图像
export const SPIav = params => post("react/uploadavatar", params)

//上传投诉信息
export const Complint = params => get("react/complint", params)

 //请假查询
 export const Findlist = params => post("react/findlist",params)

 //中国地图
 export const Echarts = params => get("https://view.inews.qq.com/g2/getOnsInfo?name=disease_h5",params)
